<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./css/unslider.css" />
    <title>unslider</title>
    <style>
        h1 {
            width: 100%;
            height: 80px;
            text-align: center;
            line-height: 80px;
        }
        .banner{
            width: 100%;
        }
        .banner li {
            height: 100%;
        }
        .banner li > img {
            display: block;
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body>

    <h1>The jQuery slider that just slides.</h1>
    <div class="banner">
        <ul>
            <li><img src="./images/shop.jpg" alt=""></li>
            <li><img src="./images/subway.jpg" alt=""></li>
            <li><img src="./images/sunset.jpg" alt=""></li>
            <li><img src="./images/wood.jpg" alt=""></li>
        </ul>
    </div>
    <!-- jquery 1.11.1-->
    <script src="/static/js/jquery.js"></script>
    <!-- unslider 2.0.3-->
    <script src="./js/unslider-min.js"></script>
    <script>
        $(function() {
            $('.banner').unslider({
                autoplay: true, 
                speed: 800,
                delay: 3000,
                keys: false, 
                dots: true, 
                fluid: true, 
                arrows: true,
                complete: function () { } //  A function that gets called after every slide animation
            });
        })
    </script>
</body>

</html>